package events 
{
	import com.GCQuest;
	/**
	 * ...
	 * @author Roy
	 */
	public class GCQuestEvent extends GCEvent 
	{
		private var _successfullyCompleted:Boolean;
		private var _quest:GCQuest;
		
		// Used for the tutorial quests, gives a list of new quests that should
		// be added to the display
		private var _newQuests:Vector.<GCQuest>;
		
		public function GCQuestEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{
			super(type, bubbles, cancelable);
		}
		
		public function get successfullyCompleted():Boolean
		{
			return _successfullyCompleted;
		}
		
		public function get quest():GCQuest
		{
			return _quest;
		}
		
		public function get newQuestsList():Vector.<GCQuest>
		{
			return _newQuests;
		}
		
		public function set quest(value:GCQuest):void
		{
			_quest = value;
		}
		
		public function set successfullyCompleted(value:Boolean):void
		{
			_successfullyCompleted = value;
		}
		
		public function set newQuestsList(questList:Vector.<GCQuest>):void
		{
			_newQuests = questList;
		}
	}

}